package com.feilong.commons.core.entity;

import java.io.Serializable;

/**
 *返回提示
 * 
 * @author <a href="mailto:venusdrogon@163.com">金鑫</a>
 * @version 1.0 2010-6-24 上午03:14:56
 * @since 1.0
 */
public class BackWarnEntity implements Serializable{

	private static final long	serialVersionUID	= 1L;

	/**
	 * 是否成功
	 */
	private boolean				isSuccess;

	/**
	 * 描述
	 */
	private Object				description;

	/**
	 * 
	 */
	public BackWarnEntity(){
		super();
	}

	/**
	 * @param isSuccess
	 * @param description
	 */
	public BackWarnEntity(boolean isSuccess, Object description){
		super();
		this.isSuccess = isSuccess;
		this.description = description;
	}

	/**
	 * @return the isSuccess
	 */
	public boolean isSuccess(){
		return isSuccess;
	}

	/**
	 * @param isSuccess
	 *            the isSuccess to set
	 */
	public void setSuccess(boolean isSuccess){
		this.isSuccess = isSuccess;
	}

	/**
	 * @return the description
	 */
	public Object getDescription(){
		return description;
	}

	/**
	 * @param description
	 *            the description to set
	 */
	public void setDescription(Object description){
		this.description = description;
	}
}
